package com.group.model;


/**
 * Bitfinex 的 K线图model
 *
 * @author Zhangyang Hu
 */
public class BitfinexCandles {

    private Long id;

    private Long openTime;           //开盘时间

    private Double openPrice;        //开盘价

    private Double closePrice;       //收盘价

    private Double highestPrice;     //最高价

    private Double lowestPrice;      //最低价

    private Double baseAssetVolume;  //Base asset 成交量

    private Long tradesCount;        //Number of trades, 成交笔数

    private String baseAsset;        //比如BTCUSDT交易对，base asset就是BTC

    private String quoteAsset;       //比如BTCUSDT交易对，quote asset就是USDT

    private String timeFrame;        //时间窗口，比如1分钟，5分钟，1天，1周等

    private Long closeTime;          //收盘时间

    private Double quoteAssetVolume; //Quote asset volume

    private Double takerBuyBaseAssetVolume;        //Taker buy base asset volume

    private Double takerBuyQuoteAssetVolume;       //Taker buy quote asset volume

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOpenTime() {
        return openTime;
    }

    public void setOpenTime(Long openTime) {
        this.openTime = openTime;
    }

    public Double getOpenPrice() {
        return openPrice;
    }

    public void setOpenPrice(Double openPrice) {
        this.openPrice = openPrice;
    }

    public Double getClosePrice() {
        return closePrice;
    }

    public void setClosePrice(Double closePrice) {
        this.closePrice = closePrice;
    }

    public Double getHighestPrice() {
        return highestPrice;
    }

    public void setHighestPrice(Double highestPrice) {
        this.highestPrice = highestPrice;
    }

    public Double getLowestPrice() {
        return lowestPrice;
    }

    public void setLowestPrice(Double lowestPrice) {
        this.lowestPrice = lowestPrice;
    }

    public Double getBaseAssetVolume() {
        return baseAssetVolume;
    }

    public void setBaseAssetVolume(Double baseAssetVolume) {
        this.baseAssetVolume = baseAssetVolume;
    }

    public Long getTradesCount() {
        return tradesCount;
    }

    public void setTradesCount(Long tradesCount) {
        this.tradesCount = tradesCount;
    }

    public String getBaseAsset() {
        return baseAsset;
    }

    public void setBaseAsset(String baseAsset) {
        this.baseAsset = baseAsset;
    }

    public String getQuoteAsset() {
        return quoteAsset;
    }

    public void setQuoteAsset(String quoteAsset) {
        this.quoteAsset = quoteAsset;
    }

    public String getTimeFrame() {
        return timeFrame;
    }

    public void setTimeFrame(String timeFrame) {
        this.timeFrame = timeFrame;
    }

    public Long getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(Long closeTime) {
        this.closeTime = closeTime;
    }

    public Double getQuoteAssetVolume() {
        return quoteAssetVolume;
    }

    public void setQuoteAssetVolume(Double quoteAssetVolume) {
        this.quoteAssetVolume = quoteAssetVolume;
    }

    public Double getTakerBuyBaseAssetVolume() {
        return takerBuyBaseAssetVolume;
    }

    public void setTakerBuyBaseAssetVolume(Double takerBuyBaseAssetVolume) {
        this.takerBuyBaseAssetVolume = takerBuyBaseAssetVolume;
    }

    public Double getTakerBuyQuoteAssetVolume() {
        return takerBuyQuoteAssetVolume;
    }

    public void setTakerBuyQuoteAssetVolume(Double takerBuyQuoteAssetVolume) {
        this.takerBuyQuoteAssetVolume = takerBuyQuoteAssetVolume;
    }

}
